<!--
<?php 
print <<<EOT
-->
<script type="text/javascript">
function boxClose() {
	parent.portalBox.close();
}
</script>
<!-- 
EOT;
if ($cms && $tid) {
print <<<EOT
-->
<div class="tipWrap">
	<div class="regCorrect">
		<p class="f14 mb10 b">$successLang</p>
		<p class="f14 mb10">您选择了生成CMS页面，是否立即进入编辑？</p>
		<p><span class="btn2"><span><button type="button" onclick="parent.location.href='$postModifyUrl'">编辑</button></span></span><span class="bt2"><span><button type="button" onclick="boxClose();">关闭</button></span></span></p>
	</div>
</div>
<!-- 
EOT;
} else {
print <<<EOT
-->
<div class="tipWrap">
	<div class="regCorrect">
		<p class="f14 mb10 b">$successLang</p>
		<p class="s6">两秒后自动关闭</p>
	</div>
</div>
<script type="text/javascript">
setTimeout(boxClose,2000);
</script>
<!-- 
EOT;
}
print <<<EOT
-->	
<!--
EOT;
?>
-->